package game.worlds;

import hx.events.Keyboard;

/**
 * 2P键控
 */
class Player2Key extends Player1Key {
	override function onInit() {
		super.onInit();
		// 设置按键为↑↓←→1234569
		this.LEFT = Keyboard.LEFT;
		this.RIGHT = Keyboard.RIGHT;
		this.UP = Keyboard.UP;
		this.DOWN = Keyboard.DOWN;
		this.ATTACK = Keyboard.NUMPAD_1;
		this.JUMP = Keyboard.NUMPAD_2;
		this.FAST_MOVE = Keyboard.NUMPAD_3;
		this.SKILL_U = Keyboard.NUMPAD_4;
		this.SKILL_I = Keyboard.NUMPAD_5;
		this.SKILL_O = Keyboard.NUMPAD_6;
		this.SKILL_P = Keyboard.NUMPAD_9;
	}
}
